import 'package:dio/dio.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:flutter/material.dart';

void showToast(String title){
    Fluttertoast.showToast(
          msg: title,
          toastLength: Toast.LENGTH_LONG,
          gravity: ToastGravity.CENTER,
          timeInSecForIos: 2,
          backgroundColor: Color.fromRGBO(0, 0, 0, 0.8),
          textColor: Colors.white,
          fontSize: 13.0,
        );
}
